package com.hippoDocker.feignhystrixorder;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients // 启动Feign
@EnableHystrix // 启动Hystrix(使用Hystrix要和feign搭配使用)
public class FeignHystrixOrder8000Application {

    public static void main(String[] args) {
        SpringApplication.run(FeignHystrixOrder8000Application.class, args);
    }

}
